package fr.afcepf.atod12.afcepfvoyage.beans;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

@Entity
@Table(name="Destination")
public class Destination implements Serializable{
	@Transient
	private static final long serialVersionUID = 1L;
	@Id
	@GeneratedValue(strategy=GenerationType.AUTO)
	private long idDestination;
	@Column(length=30)
	private String pays;
	@Column(length=30)
	private String continent;
	public Destination() {
	}
	public final void setIdDestination(long idDestination) {
		this.idDestination = idDestination;
	}
	public final long getIdDestination() {
		return idDestination;
	}
	public final String getPays() {
		return pays;
	}
	public final void setPays(String pays) {
		this.pays = pays;
	}
	public final String getContinent() {
		return continent;
	}
	public final void setContinent(String continent) {
		this.continent = continent;
	}
}